/*
 * BaseUI.h
 *
 *  Created on: Oct 27, 2012
 *      Author: johnny
 */

#ifndef BASEUI_H_
#define BASEUI_H_

#include <QWidget>
#include <QObject>

#include "../Logger.h"

namespace ui {

class BaseUI: public QObject {
protected:
    QWidget* formWidget;
    QWidget* parent;

public:
	BaseUI();
	virtual ~BaseUI();

    virtual void reParent(QWidget*);
	virtual bool setup() = 0;
	virtual bool setup(const char* uiFile);
	virtual QWidget* getWidget();
};

} /* namespace ui */
#endif /* BASEUI_H_ */
